$(function(){

});

function listAll(type) {
	var id = "";
	var href = "";
	$(".b_" + type + "list").each(function () {
		id += $(this).attr("dataId") + ",";
		if(!href) {
			href = $(this).attr("href");
		}
	});
	id = id.substring(0,id.length-1);
	href = href.substring(0,href.lastIndexOf("=")+1) + id;
	window.location.href = href;
}
